<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context=".activity_manage_macs"
    android:id="@+id/menu">

    <item
        android:id="@+id/sort_by"
        android:title="@string/sort">

    <!--TODO Finish the menu and implement in ManageMacsActivity-->
    <menu>
        <item
            android:id="@+id/sort_mac"
            android:title="@string/mac"
            app:showAsAction="never" />
        <item
            android:id="@+id/sort_vendor"
            android:title="@string/vendor"
            app:showAsAction="never" />
        <item
            android:id="@+id/sort_date_added"
            android:title="@string/date_added"
            app:showAsAction="never" />
    </menu>
    </item>

    <item
        android:id="@+id/app_bar_search"
        android:icon="@drawable/ic_search_24dp"
        android:title="@string/search"
        app:actionViewClass="androidx.appcompat.widget.SearchView"
        app:showAsAction="always|collapseActionView"/>
    <item
        android:id="@+id/sync_devices"
        android:icon="@drawable/ic_sync_24dp"
        android:title="@string/sync_header"
        app:showAsAction="ifRoom"/>
    <item
        android:id="@+id/filter"
        android:icon="@drawable/ic_filter_list_black_24dp"
        android:title="@string/filter"
        app:showAsAction="always"
        />
    <!--<item
        android:id="@+id/option"
        android:icon="@android:drawable/arrow_down_float"
        android:orderInCategory="50"
        android:title="@string/optional"
        app:showAsAction="always" />-->
    <item
        android:id="@+id/action_batch_edit"
        android:icon="@android:drawable/ic_menu_edit"
        android:orderInCategory="250"
        android:title="@string/batch_edit"
        app:showAsAction="never" />
    <item
        android:id="@+id/action_settings"
        android:orderInCategory="100"
        android:title="@string/settings"
        app:showAsAction="never" />
    <!--TODO
        <item
        android:id="@+id/action_sort"
        android:icon="@android:drawable/ic_menu_sort_by_size"
        android:orderInCategory="300"
        android:title="@string/sort"
        app:showAsAction="always" />-->

    <item
        android:id="@+id/export"
        android:orderInCategory="500"
        android:title="@string/export_to_csv"
        app:showAsAction="never" />
    <item
        android:id="@+id/action_logout"
        android:orderInCategory="1000"
        android:title="@string/logout"
        app:showAsAction="never" />
</menu>